package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;

import java.util.List;

public interface AddressDao {

    //查询所有的地址
    public List<Address> findAll();

    //条件查询
    public Page<Address> findByQueryString(String queryString);

    //根据id删除地址
    public void deleteById(Integer id);
}
